package com.qingzhuge.member.dao;

import com.qingzhuge.dao.BasePkLongDao;
import com.qingzhuge.member.entity.SysImageText;
import com.qingzhuge.member.enums.EnumPublishType;

import java.util.List;

/**
 * @author : zero.xiao
 * @description :
 * @date : 2019/1/8 0008 下午 17:44
 * @modified :
 * @since :
 */
public interface MallImageTextDao extends BasePkLongDao<SysImageText> {
    List<SysImageText> findByShowCategoryAndDeleted(EnumPublishType type, Integer deleted);

    List<SysImageText> findByDeleted(Integer deleted);

    SysImageText findByIdAndDeleted(Long id, Integer deleted);

}
